package com.whnk.pm.dto;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.whnk.common.base.BaseEntity;
import org.springframework.web.multipart.MultipartFile;

/**
 * 人员附件表 emp_file_info
 * 
 * @author whwhnk
 * @date 2019-06-13
 */
public class FileInfoDTO extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 附件信息主键 */
	private Integer fileId;
	/** 证件号码 */
	private String empId;
	/** 姓名 */
	private String empNm;
	/** 附件类型（身份证、学历、学位、合同、社保证明） */
	private String empAttType;
	/** 附件的文件信息 */
	private MultipartFile empAtt;
	/** 文件名称 */
	private String empFileNm;

	public void setFileId(Integer fileId) 
	{
		this.fileId = fileId;
	}

	public Integer getFileId() 
	{
		return fileId;
	}
	public void setEmpId(String empId) 
	{
		this.empId = empId;
	}

	public String getEmpId() 
	{
		return empId;
	}
	public void setEmpNm(String empNm) 
	{
		this.empNm = empNm;
	}

	public String getEmpNm() 
	{
		return empNm;
	}
	public void setEmpAttType(String empAttType) 
	{
		this.empAttType = empAttType;
	}

	public String getEmpAttType() 
	{
		return empAttType;
	}

	

    public MultipartFile getEmpAtt() {
		return empAtt;
	}

	public void setEmpAtt(MultipartFile empAtt) {
		this.empAtt = empAtt;
	}

	public void setEmpFileNm(String empFileNm) 
	{
		this.empFileNm = empFileNm;
	}

	public String getEmpFileNm() 
	{
		return empFileNm;
	}
	
	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("empId", getEmpId())
            .append("empNm", getEmpNm())
            .append("empAttType", getEmpAttType())
            .append("empAtt", getEmpAtt())
            .append("empFileNm", getEmpFileNm())
            .toString();
    }
}
